import i18n from '@/lang'

const witleTitle = ['404', 'test']

export default function getPageTitle(title) {
	console.log('title', title)
	if (title && !witleTitle.includes(title)) {
		document.title = 'HORWIN | ' + i18n.t(title)
	} else {
		document.title = 'HORWIN'
	}
}
